package com.example.devsa_platform.controller;

import com.example.devsa_platform.common.Result;
import com.example.devsa_platform.pojo.vo.stats.ArtificialIntelligenceVo;
import com.example.devsa_platform.service.ArtificialIntelligenceService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/s5")
public class ArtificialIntelligenceController {
    @Autowired
    ArtificialIntelligenceService artificialIntelligenceService;

    @GetMapping("/artificialIntelligenceStats")
    public Result<ArtificialIntelligenceVo> artificialIntelligenceStats() {
        return artificialIntelligenceService.ArtificialIntelligenceStats();
    }
}
